/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.supinfo.youfood.dao;

import com.supinfo.youfood.entity.Commande;
import com.supinfo.youfood.entity.Employe;
import com.supinfo.youfood.entity.Restaurant;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Michael
 */
@Local
public interface CommandeDao {
    
    public void creerCommande(Commande c);
    
    public void supprimerCommande(Commande c);
    
    public void updateCommande(Commande c);
    
    public List<Commande> getAllCommandes();
    
    public List<Commande> getAllCommandesByResto(Restaurant res);
    
    public List<Commande> getAllCommandesByEmp(Employe e);
    
    public Commande findCommandeById(Long id);
    
}
